package com.java2;

interface A{
    int x = 0;
}

class B{
    int x = 1;
}

class C extends B implements A{

    public void PX(){
        //编译不通过。因为x是不明确的
//        System.out.println(x);
        System.out.println(super.x);
        System.out.println(A.x);
    }

    public static void main(String[] args) {
        new C().PX();
    }
}
